mp4ameta 0.6.1

A library for reading and writing iTunes style MPEG-4 audio metadata.
Documentation

rust-mp4ameta

CI Crate Documentation License LOC

A library for reading and writing iTunes style MPEG-4 audio metadata.

Usage

fn main() {
  	let mut tag = mp4ameta::Tag::read_from_path("music.m4a").unwrap();

  	println!("{}", tag.artist().unwrap());

  	tag.set_artist("artist");

  	tag.write_to_path("music.m4a").unwrap();
}

Supported Filetypes

  • M4A
  • M4B
  • M4P
  • M4V

Useful Links

Testing

Run all tests:

cargo test -- --test-threads=1

To test this library against your collection symlink your music dir into the files dir and run:

cargo test sample_files -- --show-output